<?php

/**
 * Description of Exception_ProfileNotActive
 *
 * @author a.novikov
 */
class Exception_ProfileNotActive extends Exception_Redirect {
	public function __construct($profileId, $msg = 'Profile is not active', $code = 0, Exception $previous = null) {
		$profileId = (int)$profileId;
		parent::__construct('/auth/inactive/id/'.$profileId, $msg, $code, $previous);
	}
}